﻿
    using Chain.BLL;
    using Chain.Model;
    using System;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;

    public partial class gooddetail : Page
    {

        private Chain.BLL.MicroWebsiteGoods MicroWebsiteGoodsBll = new Chain.BLL.MicroWebsiteGoods();


        protected void Page_Load(object sender, EventArgs e)
        {
            int MicroGoodsID = Convert.ToInt32(base.Request["MicroGoodsID"]);
            Chain.Model.MicroWebsiteGoods MicroWebsiteGoodsModel = this.MicroWebsiteGoodsBll.GetModel(MicroGoodsID);
            this.gooddetail_MicroGoodsPicture.Src = MicroWebsiteGoodsModel.MicroGoodsPicture;
            this.gooddetailMicroGoodsName.InnerText = MicroWebsiteGoodsModel.MicroGoodsName;
            this.gooddetailMicroSalePrice.InnerText = MicroWebsiteGoodsModel.MicroSalePrice.ToString("0.00") + "元";
            this.gooddetailMicroPrice.InnerText = MicroWebsiteGoodsModel.MicroPrice.ToString("0.00") + "元";
            this.gooddetail_MicroGoodsRemark.InnerText = MicroWebsiteGoodsModel.MicroGoodsRemark;
            this.txtGoodID.Value = MicroGoodsID.ToString();
        }
    }


